package cn.iocoder.yudao.module.study.enums;


import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * study 错误码枚举类
 *
 *  使用 2-002-000-000 段
 */
public interface ErrorCodeConstants {

    /**
     * ========== 消息 2-002-001-000 ==========
     */
    ErrorCode MSG_INSTANCE_IMPL_IS_NOT_CONFIG = new ErrorCode(2_002_001_001, "没有配置消息的服务类");
    ErrorCode MSG_UNABLE_INSTANCE_IMPL = new ErrorCode(2_002_001_002, "无法实例化消息服务类");
    ErrorCode MSG_REWRITE_OAUTH_URL = new ErrorCode(2_002_001_003, "Please rewrite method to get oauth url");

    /**
     * ========== 用户访问某个接口过于频繁  2-002-002-000 ==========
     */
    ErrorCode ACCESS_FREQUENT = new ErrorCode(2_002_002_001,"访问过于频繁，请稍后再试");

}
